Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.5.z] Backport 23/10/2024 #1381

Merged
merged 4 commits into from
Oct 23, 2024
Merged

Conversation

jedla97
Copy link
Member

@jedla97 jedla97 commented Oct 23, 2024

Summary

Backport contains:

Please check the relevant options

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Dependency update
  • Refactoring
  • Backport
  • Release (follows conventions described in the RELEASE.md)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • This change requires a documentation update
  • This change requires execution against OCP (use run tests phrase in comment)

Checklist:

  • Example scenarios has been updated / added
  • Methods and classes used in PR scenarios are meaningful
  • Commits are well encapsulated and follow the best practices

In case of linux we propagating all build arguments which also contains `maven.repo.local`.
This is not case on windows where we getting only specific set of them (starts with Quarkus).
When quarkus-qe#1359 was introducedThe build start separatly using maven.
But when provided path to local maven repo was set as cmd argument and the artifact is not public,
causing the windows failing the build of app with that forced artifact.

(cherry picked from commit afdcab9)
@jedla97 jedla97 marked this pull request as ready for review October 23, 2024 11:07
@@ -312,13 +314,15 @@ public static Model getPom(QuarkusCliRestService app) throws XmlPullParserExcept
public static Model getPom(QuarkusCliRestService app, String subdir) throws IOException, XmlPullParserException {
File pomfile = app.getFileFromApplication(subdir, POM_FILE);
MavenXpp3Reader mavenReader = new MavenXpp3Reader();
XmlStreamReader streamReader = new XmlStreamReader(pomfile);
return mavenReader.read(streamReader);
try (XmlStreamReader streamReader = new XmlStreamReader(pomfile)) {
Copy link
Member

@michalvavrik michalvavrik Oct 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, I might have a MavenXpp3Reader were I made mistake. I have to revise what I do.

@michalvavrik michalvavrik merged commit c15a022 into quarkus-qe:1.5.z Oct 23, 2024
8 checks passed
@jedla97 jedla97 mentioned this pull request Oct 23, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants